//
//  CustomControls.h
//  AMT media manager
//
//  Created by gift ku on 2/5/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#define imageNamedWithPostfix(imageName, postfix)   \
[[NSImage imageNamed:[imageName stringByAppendingString:postfix]] retain]

@interface CustomSliderCell : NSSliderCell
{
    NSImage* _trackImage;
    NSImage* _trackImageDisabled;
    NSImage* _knobImage;
    NSImage* _knobImagePressed;
    NSImage* _knobImageDisabled;
	NSImage* _trackImageCover;
    NSColor* _backColor;
    float _trackOffset;
    float _knobOffset;
}

- (void)setImageName:(NSString*)imageName backColor:(NSColor*)backColor
         trackOffset:(float)trackOffset knobOffset:(float)knobOffset;

@end
